home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / DClap / DChildDlogDoc.h < prev    next >
Text File  |  1996-07-05  |  869b  |  41 lines

  1. // DChildDlogDoc.h
  2. // d.g.gilbert
  3.  
  4. #ifndef _DCHILDDLOGDOC_
  5. #define _DCHILDDLOGDOC_
  6.  
  7. #include "Dvibrant.h"
  8. #include "DWindow.h"
  9.  
  10. class DChildDlogView;
  11. class DFile;
  12. class DDialogText;
  13. class DList;
  14.  
  15. class    DChildDlogDoc : public DWindow
  16. {
  17. protected:
  18.     DChildDlogView* fDlog;
  19.     Nlm_FonT    fFont;
  20.     DList*     fControls;
  21. public:
  22.  
  23.     DChildDlogDoc( long id = 0, Boolean freeOnClose = true, 
  24.                                 Nlm_FonT itsFont = Nlm_programFont);
  25.      virtual ~DChildDlogDoc();
  26.     
  27.     virtual void OpenText( char* doctext, ulong doclength = 0);
  28.     virtual void Open( DFile* aFile);
  29.     virtual void Open( char* filename);
  30.     virtual void Open();
  31.     virtual void Close();
  32.     virtual void CloseAndFree();
  33.     virtual void ResizeWin();
  34.     virtual Nlm_Boolean PoseModally();
  35.     virtual Boolean IsMyAction(DTaskMaster* action); 
  36.     virtual void AddSubordinate(DTaskMaster* subordinate);
  37.     virtual DList* GetControls();
  38. };
  39.  
  40. #endif
  41.